# coding=utf-8
import time


from server import app
from  client import Client
if __name__ == "__main__":
    from gevent import pywsgi

    client = Client()
    client.reg()
    server = pywsgi.WSGIServer(('0.0.0.0', 5001), app)
    server.serve_forever()